#ifndef MAIN_H
#define MAIN_H


#include <signal.h>
#include <os.h>
#include <mysql/mysql.h>
#include "htpargs.h"
#include "database.h"

#define _AGENT      "buzznet"
#define _MAX_LINKS  4000
#define _MAX_UNIQ   100

#define _TABLES     32
#define _I(k_)      (int32_t)::atol(k_)
#define _U(k_)      (uint32_t)::atol(k_)

using namespace std;

extern bool __alive;

#define _TABLES     32
#define _I(k_)      (int32_t)::atol(k_)
#define _U(k_)      (uint32_t)::atol(k_)


#endif // MAIN_H
